//
//  CarouselViewController.h
//  SecretFolder
//
//  Created by Deepak Kumar on 24/06/12.
//  Copyright 2012 Frog. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "iCarousel.h"
#import <MobileCoreServices/MobileCoreServices.h>
#import "iPhoto.h"
#import "FileDownloader.h"
#import "Directory.h"

@interface CarouselViewController : UIViewController<UIActionSheetDelegate,UIImagePickerControllerDelegate,
UINavigationControllerDelegate, UIPopoverControllerDelegate, FileDownloaderDelegate> {
	NSMutableArray *mObjectArray;
	NSString *mFilePath;
	NSInteger mCurrentItemIndex;
	
	UIPopoverController *popoverController;
	UIPopoverController *mAddNotePopoverController;
	NSMutableDictionary *mDownloadObjectDictionary;
}

@property (nonatomic, strong) IBOutlet iCarousel *mCarausel;
@property (nonatomic, strong) UIPopoverController *popoverController;
@property (nonatomic, strong) NSMutableDictionary *mDownloadObjectDictionary;
@property (nonatomic, strong) UIPopoverController *mAddNotePopoverController;

- (IBAction) backButton:(id)pButton;
- (IBAction) addPicButton:(UIBarButtonItem *)pButton;
- (IBAction) segmentedControlChange:(UISegmentedControl *)pSegmentedControl;
- (IBAction) fullScreen:(id)pButton;
- (IBAction) addNote:(UIBarButtonItem *)pButton;

- (void) refreshCarausel;
- (void) startDownloadFile:(iPhoto *)pPhoto forIndexPath:(NSIndexPath *)indexPath;
- (void) setDirectory:(Directory *)pDirectory;
- (NSString *) getDocumentsDirectoryForFolder:(NSString *)pFolder;

@end
